qtbase-opensource-src.git
4 years agoAvoid unconditional PATH_MAX usage
Pino Toscano [Fri, 2 Jul 2021 15:58:04 +0000 (16:58 +0100)]
Avoid unconditional PATH_MAX usage

Forwarded: no
Last-Update: 2020-04-19

Use a "safe" size in case PATH_MAX is not defined; in the end, this should not
be used, as a allocating realpath() will be used instead.

Gbp-Pq: Name path_max.diff

4 years agopass default include directories to qdoc
Martin Smith [Fri, 2 Jul 2021 15:58:04 +0000 (16:58 +0100)]
pass default include directories to qdoc

Bug: https://bugs.debian.org/908328
Forwarded: no
Last-Update: 2020-01-28

Gbp-Pq: Name qdoc_default_incdirs.diff

4 years agoguard UTIME_NOW/UTIME_OMIT usages
Dmitry Shachnev [Fri, 2 Jul 2021 15:58:04 +0000 (16:58 +0100)]
guard UTIME_NOW/UTIME_OMIT usages

Forwarded: no
Last-Update: 2018-02-22

Gbp-Pq: Name nonlinux_utime.diff

4 years agosupport ARMv4 architecture, needed for armel builds
Dmitry Shachnev [Fri, 2 Jul 2021 15:58:04 +0000 (16:58 +0100)]
support ARMv4 architecture, needed for armel builds

Forwarded: no
Last-Update: 2016-07-01

Gbp-Pq: Name armv4.diff

4 years agocatch linker warnings in some config tests
Dmitry Shachnev [Fri, 2 Jul 2021 15:58:04 +0000 (16:58 +0100)]
catch linker warnings in some config tests

Forwarded: https://codereview.qt-project.org/163214 (rejected)
Bug: https://bugs.debian.org/827935
Last-Update: 2019-03-02

Without this, qmake wrongly thinks that the tests succeed, for example:

./config.tests/unix/futimens/futimens.cpp:44: warning: futimens is not implemented and will always fail
test config.corelib.tests.futimens succeeded

Gbp-Pq: Name gnukfreebsd_linker_warnings.diff

4 years agobuild ibase sql plugin against firebird
Fathi Boudra [Fri, 2 Jul 2021 15:58:04 +0000 (16:58 +0100)]
build ibase sql plugin against firebird

Forwarded: no
Last-Update: 2017-06-30

Gbp-Pq: Name link_fbclient.diff

4 years agoremove non-used privacy-breach code
Lisandro Damián Nicanor Pérez Meyer [Fri, 2 Jul 2021 15:58:04 +0000 (16:58 +0100)]
remove non-used privacy-breach code

Forwarded: not-needed
Last-Update: 2015-02-18

This code makes Lintian unhappy. But we are really not using it, it only
gets inserted when building the online doc.
Anyways the best way to calm down Lintian is to simply remove it.

Gbp-Pq: Name remove_privacy_breaches.diff

4 years agodisable htmlinfo example which contains non-free files
Dmitry Shachnev [Fri, 2 Jul 2021 15:58:04 +0000 (16:58 +0100)]
disable htmlinfo example which contains non-free files

Forwarded: not-needed
Last-Update: 2014-12-17

Gbp-Pq: Name no_htmlinfo_example.diff

4 years agoInitial GNU/kFreeBSD support
Pino Toscano [Fri, 2 Jul 2021 15:58:04 +0000 (16:58 +0100)]
Initial GNU/kFreeBSD support

Last-Update: 2015-06-03
Forwarded: no

- add a gnukfreebsd-g++ qmake mkspec, mostly copied from the hurd-g++ one
- properly use LD_LIBRARY_PATH on GNU/* systems

Gbp-Pq: Name gnukfreebsd.diff

4 years ago[PATCH] Fix invalid pointer return with QGridLayout::itemAt(-1)
Zhang Yu [Mon, 22 Feb 2021 01:25:01 +0000 (09:25 +0800)]
[PATCH] Fix invalid pointer return with QGridLayout::itemAt(-1)

QGridLayout::takeAt() and QLayoutItem *itemAt() only check the upper bound.
If the index < 0, these function will return invalid pointer.

Fixes: QTBUG-91261
Pick-to: 5.15 6.0 6.1
Change-Id: Idfb9fb6228b9707f817353b04974da16205a835c
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
Gbp-Pq: Name fix-invalid-pointer-return-with-QGridLayout.diff

4 years agoadjust QMimeDatabase implementation
Debian Qt/KDE Maintainers [Fri, 2 Jul 2021 15:58:04 +0000 (16:58 +0100)]
adjust QMimeDatabase implementation

Origin: upstream, https://code.qt.io/cgit/qt/qtbase.git/commit/?id=0cbbba2aa5b47224
Last-Update: 2021-06-12

When multiple globs match, and the result from magic sniffing is
unrelated to any of those globs, globs have priority and one of them
should be picked up.

Gbp-Pq: Name mime_globs.diff

4 years agofix allocated memory of QByteArray returned by QIODevice::readLine
Debian Qt/KDE Maintainers [Fri, 2 Jul 2021 15:58:04 +0000 (16:58 +0100)]
fix allocated memory of QByteArray returned by QIODevice::readLine

Origin: upstream, https://code.qt.io/cgit/qt/qtbase.git/commit/?id=6485b6d45ad165cf
Last-Update: 2021-02-20

Gbp-Pq: Name qiodevice_readline_memory.diff

4 years agoinclude <limits> to fix some GCC 11 build issues
Debian Qt/KDE Maintainers [Fri, 2 Jul 2021 15:58:04 +0000 (16:58 +0100)]
include <limits> to fix some GCC 11 build issues

Origin: upstream, commits:
 https://code.qt.io/cgit/qt/qtbase.git/commit/?id=813a928c7c3cf986
 https://code.qt.io/cgit/qt/qtbase.git/commit/?id=9c56d4da2ff631a8
Last-Update: 2021-01-26

Gbp-Pq: Name gcc_11_limits.diff

4 years agoQNAM: work around QObject finicky orphan cleanup details
Debian Qt/KDE Maintainers [Fri, 2 Jul 2021 15:58:04 +0000 (16:58 +0100)]
QNAM: work around QObject finicky orphan cleanup details

Origin: upstream, https://code.qt.io/cgit/qt/qtbase.git/commit/?id=0807f16eb407eaf8
Last-Update: 2021-01-26

Gbp-Pq: Name qnam_connect_memory_leak.diff

4 years agoAvoid use-after-free in QXcbConnection::initializeScreens()
Debian Qt/KDE Maintainers [Fri, 2 Jul 2021 15:58:04 +0000 (16:58 +0100)]
Avoid use-after-free in QXcbConnection::initializeScreens()

Origin: upstream, https://code.qt.io/cgit/qt/qtbase.git/commit/?id=86b8c5c3f32c2457
Last-Update: 2020-11-23

Gbp-Pq: Name xcb_screens_uaf.patch

4 years agoqtbase-opensource-src (5.15.2+dfsg-9) unstable; urgency=medium
Dmitry Shachnev [Fri, 2 Jul 2021 15:58:04 +0000 (16:58 +0100)]
qtbase-opensource-src (5.15.2+dfsg-9) unstable; urgency=medium

  * Revert adding fix-misplacement-of-placeholder-text-in-QLineEdit.diff.
    Unfortunately it causes a regression (see QTBUG-94824).

[dgit import unpatched qtbase-opensource-src 5.15.2+dfsg-9]

4 years agoImport qtbase-opensource-src_5.15.2+dfsg-9.debian.tar.xz
Dmitry Shachnev [Fri, 2 Jul 2021 15:58:04 +0000 (16:58 +0100)]
Import qtbase-opensource-src_5.15.2+dfsg-9.debian.tar.xz

[dgit import tarball qtbase-opensource-src 5.15.2+dfsg-9 qtbase-opensource-src_5.15.2+dfsg-9.debian.tar.xz]

5 years agoImport qtbase-opensource-src_5.15.2+dfsg.orig.tar.xz
Dmitry Shachnev [Fri, 20 Nov 2020 13:08:35 +0000 (13:08 +0000)]
Import qtbase-opensource-src_5.15.2+dfsg.orig.tar.xz

[dgit import orig qtbase-opensource-src_5.15.2+dfsg.orig.tar.xz]